﻿@model FilStartUps_Mobile.Models.Profile

@{
    ViewBag.Title = "EditProfile";
}

<h2>Edit Profile</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>

    <div class="editor-label">
            @Html.LabelFor(model => model.firstname)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.firstname)
            @Html.ValidationMessageFor(model => model.firstname)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.lastname)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.lastname)
            @Html.ValidationMessageFor(model => model.lastname)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.middlename)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.middlename)
            @Html.ValidationMessageFor(model => model.middlename)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.birthdate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.birthdate)
            @Html.ValidationMessageFor(model => model.birthdate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.gender)
        </div>
        <div class="editor-field">
           <select id="gender">
            <option selected="@Model.gender" value="Male">Male</option>
            <option value="Female">Female</option>
           </select>
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.phonenumber)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.phonenumber)
            @Html.ValidationMessageFor(model => model.phonenumber)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.citizenship)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.citizenship)
            @Html.ValidationMessageFor(model => model.citizenship)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.activitiesAndinterest)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.activitiesAndinterest)
            @Html.ValidationMessageFor(model => model.activitiesAndinterest)
        </div>

    
        <div class="editor-label">
            @Html.LabelFor(model => model.companyname)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.companyname)
            @Html.ValidationMessageFor(model => model.companyname)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.companyaddress)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.companyaddress)
            @Html.ValidationMessageFor(model => model.companyaddress)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.companydescription)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.companydescription)
            @Html.ValidationMessageFor(model => model.companydescription)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.companywebsite)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.companywebsite)
            @Html.ValidationMessageFor(model => model.companywebsite)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}
